import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import '@/styles/common.css'
import '@/utils/directive'


import {fitChartSize} from '@/utils/dataUtil'
Vue.prototype.fitChartSize = fitChartSize;

import * as echarts from 'echarts';
Vue.prototype.$echarts = echarts
Vue.config.productionTip = false

Vue.prototype.$StrUtil_isEmpty = function (s) {
  if (s == null || s === '') {
    return true;
  }
  return false;
};


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
